<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div>
    <a :href="url">超链接</a>
    <!--这个是属性绑定的复杂写法,这种写法如果没有安装vue插件会报错,alt+回车解决-->
    <a v-bind:href="url">超链接</a>
    <img :src="imgName" alt="">
    <input type="text" :value="info">
</div>
<!--引入VUE-->
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<script>
    let v = new Vue({
        el: "body>div",
        data: {
            url:"http://www.baidu.com",
            imgName:"img.png",
            info:"我儿王腾,富有大帝之姿!"
        }
    })
</script>
</body>
</html>